package com.he.DesignPatterns.adapter.ClassAdapter;

import java.text.MessageFormat;

/**
 * @description: TODO
 * @Author: HCL
 * @Date: 2024/8/26 16:35
 */
public class SDCardImpl implements SDCard{

    @Override
    public String readSD() {
        return "SDCard读取数据";
    }

    @Override
    public void writeSD(String data) {
        System.out.println(MessageFormat.format("SDCard写入的数据：{0}", data));
    }
}
